package com.itheima.service;

import com.itheima.doman.pojo.Dept;

import java.util.List;

public interface DeptService {

    List<Dept> findAll();

    /**
     * 根据id删除部门
     * @param id
     */
    void deleteById(Integer id);

    void addDept(Dept dept);

    Dept findById(Integer id);

    void updateDept(Dept dept);
}
